home *** CD-ROM | disk | FTP | other *** search
- package Astro;
-
- import com.siemens.mp.game.ExtendedImage;
- import com.siemens.mp.game.TiledBackground;
- import javax.microedition.lcdui.Font;
- import javax.microedition.lcdui.Form;
- import javax.microedition.lcdui.TextField;
-
- // $FF: renamed from: Astro.e
- class class_0 {
- // $FF: renamed from: void com.siemens.mp.game.TiledBackground
- static TiledBackground field_0;
- // $FF: renamed from: a byte[]
- static byte[] field_1;
- // $FF: renamed from: if byte[]
- static byte[] field_2;
- // $FF: renamed from: try byte[]
- static byte[] field_3;
- // $FF: renamed from: char Astro.c
- static c field_4;
- // $FF: renamed from: else javax.microedition.lcdui.TextField
- TextField field_5 = new TextField("Name :", "", 20, 0);
- // $FF: renamed from: null int
- int field_6 = 0;
- // $FF: renamed from: for int
- int field_7 = 0;
- // $FF: renamed from: int int
- int field_8 = 2;
- // $FF: renamed from: goto javax.microedition.lcdui.Form
- Form field_9 = new Form("New Profile");
- // $FF: renamed from: byte java.lang.String
- String field_10;
- // $FF: renamed from: new java.lang.String[]
- String[] field_11 = new String[]{"Aries", "Taurus", "Gemini", "Cancer", "Leo", "Virgo", "Libra", "Scorpio", "Sagittarius", "Capricorn", "Aquarius", "Pisces"};
- // $FF: renamed from: case java.lang.String[]
- String[] field_12 = new String[]{"21.03 - 10.04", "20.04 - 20.05", "21.05 - 21.06", "22.06 - 22.07", "23.07 - 22.08", "23.08 - 22.09", "23.09 - 22.10", "23.10 - 21.11", "22.11 - 21.12", "22.12 - 19.01", "20.01 - 18.02", "19.02 - 20.03"};
- // $FF: renamed from: long javax.microedition.lcdui.Font
- static Font field_13 = Font.getFont(64, 1, 8);
- // $FF: renamed from: do javax.microedition.lcdui.Font
- static Font field_14 = Font.getFont(64, 0, 8);
-
- // $FF: renamed from: do () void
- static void method_0() {
- field_0 = d.a("select.bin", field_1, field_2, field_3);
- field_4 = new c("selected.bin");
- }
-
- class_0() {
- this.field_9.append(this.field_5);
- }
-
- // $FF: renamed from: a () void
- void method_1() {
- field_0.setPositionInMap(0, 0);
- field_4.int.setVisible(true);
- field_4.int.setFrame(0);
- d.b.addObject(field_0);
- d.b.addObject(field_4.int);
- }
-
- // $FF: renamed from: if () void
- void method_2() {
- d.b.deleteObject(field_0);
- d.b.deleteObject(field_4.int);
- }
-
- // $FF: renamed from: a (com.siemens.mp.game.ExtendedImage) void
- public void method_3(ExtendedImage var1) {
- var1.clear((byte)1);
- if (++this.field_7 >= this.field_8) {
- field_4.int.setFrame((field_4.int.getFrame() + 1) % field_4.a);
- this.field_7 = 0;
- }
-
- field_4.int.setPosition(7 + 21 * (this.field_6 % 4), 1 + 18 * (this.field_6 / 4));
- d.b.paint(var1, 0, 0);
- var1.getImage().getGraphics().setFont(field_13);
- var1.getImage().getGraphics().drawString(this.field_11[this.field_6], 50, 59, 17);
- var1.getImage().getGraphics().setFont(field_14);
- var1.getImage().getGraphics().drawString(this.field_12[this.field_6], 50, 80, 33);
- var1.blitToScreen(0, 0);
- }
-
- // $FF: renamed from: a (int, int) void
- void method_4(int var1, int var2) {
- switch (var2) {
- case 1:
- this.field_6 = (this.field_6 - 4) % 12;
- break;
- case 2:
- this.field_6 = (this.field_6 - 1) % 12;
- case 3:
- case 4:
- case 7:
- default:
- break;
- case 5:
- this.field_6 = (this.field_6 + 1) % 12;
- break;
- case 6:
- this.field_6 = (this.field_6 + 4) % 12;
- break;
- case 8:
- this.method_2();
- h.q.addElement(new a(this.field_10, this.field_6));
- CMidlet.a.try();
- CMidlet.a.p.a();
- h.h = 2;
- }
-
- if (this.field_6 < 0) {
- this.field_6 += 12;
- }
-
- }
- }
-